<?php

namespace liketp;

class Facade
{
    protected static $alwaysNewInstance = false;

    public static function __callStatic($method, $arguments)
    {
        return call_user_func_array([self::createFacade(), $method], $arguments);
    }

    protected static function createFacade()
    {
        return app(static::getFacadeClass(), [], static::$alwaysNewInstance);
    }

    protected static function getFacadeClass()
    {
        return '';
    }
}
